package org.jeecg.modules.rencai.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.rencai.bo.NameValueBO;
import org.jeecg.modules.rencai.entity.BaseProduct;

import java.util.List;

/**
 * @Description: 生产基地
 * @Author: jeecg-boot
 * @Date: 2020-04-05
 * @Version: V1.0
 */
public interface BaseProductMapper extends BaseMapper<BaseProduct> {

    List<NameValueBO> countCity(@Param("province") String province,@Param("types") List<String> types,@Param("mainType") String mainType);

    List<NameValueBO> countProvince(@Param("types") List<String> types,@Param("mainType") String mainType);

    List<String> queryTypeList(@Param("province") String province, @Param("city") String city,@Param("mainType") String mainType);

    List<String> queryProvinceList(@Param("mainType") String mainType,@Param("type") String type);
}